<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="comments">
	<ul>
		<c:forEach items="${historys}" var="commentary" varStatus="status">

			<c:set var="sIndex" value="${sIndex+1 }"></c:set>
			<li class="row_${(sIndex)%2 }">
				<table>
					<tr>
						<td class="body">
							<div class="r_title" id="t_${commentary.TASK_DEF_KEY_}">
								<b>${commentary.fullname}</b>
								<fmt:formatDate value="${commentary.action_time}"
									pattern="yyyy-MM-dd HH:mm:ss" />
								&nbsp;在“${commentary.NAME_}”执行“${commentary.action_name}”
								<div class="r_content TextContent">
									处理意见：${commentary.comment} <br>
								</div>
							</div>
					</tr>
				</table>
			</li>
		</c:forEach>
		<c:if test="${'1' eq areRunning }">

			<li class="row_current">
				<table>
					<tr>

						<td class="body">
							<div id="t_running" class="r_title" style="color:red">

								&nbsp;进行中任务:“${currentTask.name}”(到达时间：
								<fmt:formatDate value="${currentTask.createTime}"
									pattern="yyyy-MM-dd HH:mm:ss" />
								)
								<div class="">
									&nbsp;候选人:<b>${currentUsers}</b>

								</div>
							</div>
					</tr>
				</table></li>
		</c:if>
	</ul>

</div>